package com.usian.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.commom.pojo.User;
import com.usian.commom.vo.ResultCommonVo;

import java.util.List;

/**
 * @TODO:
 * @Author:baimu
 * @Date:2023 11 22 09 29
 **/
public interface UserService  extends IService<User> {

    public List<User> findUser(String username);


    public List<User> findUserByUser(User user);


    public Page<User> findUserPage(User user, Integer pageNum, Integer pageSize);

    public List<User> findUserByUsernameANdage(String username,Integer age);


    public ResultCommonVo login(User user);

}
